ExamPlay Light Logo
로그인

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 11 - No. 36)

When using a linear search to find an item in an unsorted list, what is the worst-case scenario?
The item is found at the beginning of the list.
The item is not in the list.
The item is found in the middle of the list.
The item is found at the end of the list.

설명

The worst case is when the item is not in the list, requiring the algorithm to check every item.

댓글 (0)

댓글을 달려면 로그인하세요
광고
BrainBehindX Inc Logo
©2026; 에 의해 구동 BrainBehindX Inc